// import 'package:flutter_tencent_location/model/location.dart';
// import 'package:flutter_test/flutter_test.dart';
// import 'package:flutter_tencent_location/flutter_tencent_location.dart';
// import 'package:flutter_tencent_location/flutter_tencent_location_platform_interface.dart';
// import 'package:flutter_tencent_location/flutter_tencent_location_method_channel.dart';
// import 'package:plugin_platform_interface/plugin_platform_interface.dart';
//
// class MockFlutterTencentLocationPlatform
//     with MockPlatformInterfaceMixin
//     implements FlutterTencentLocationPlatform {
//   @override
//   Future<String?> getPlatformVersion() => Future.value('42');
//
//   @override
//   Future<Location?> getLocation(int interval) {
//     // TODO: implement getLocation
//     throw UnimplementedError();
//   }
//
//   @override
//   Future<String> init(String key) {
//     // TODO: implement init
//     throw UnimplementedError();
//   }
//
//   @override
//   void setUserAgreePrivacy() {
//     // TODO: implement setUserAgreePrivacy
//   }
//
//   @override
//   void stopLocation() {
//     // TODO: implement stopLocation
//   }
// }
//
// void main() {
//   final FlutterTencentLocationPlatform initialPlatform =
//       FlutterTencentLocationPlatform.instance;
//
//   test('$MethodChannelFlutterTencentLocation is the default instance', () {
//     expect(
//         initialPlatform, isInstanceOf<MethodChannelFlutterTencentLocation>());
//   });
//
//   test('getPlatformVersion', () async {
//     FlutterTencentLocation flutterTencentLocationPlugin =
//         FlutterTencentLocation();
//     MockFlutterTencentLocationPlatform fakePlatform =
//         MockFlutterTencentLocationPlatform();
//     FlutterTencentLocationPlatform.instance = fakePlatform;
//
//     expect(await flutterTencentLocationPlugin.getPlatformVersion(), '42');
//   });
// }
